@import '../../../core/index.less';

.orin-s-ordersmanage-root{
    margin: 0;
    padding: 0;
    .header-wrapper{
        height:60/@remScale;
        line-height: 60/@remScale;
        padding: 0 20/@remScale;
        color:@black-three;
        font-size: 20/@remScale;
    }
    .fix-wrapper{
        padding:0 20/@remScale;
        margin-bottom: 20/@remScale;
        .center-manage-wrapper{
            display: flex;
            align-items: center;
            justify-content: space-between;
            .search-wrapper{
                display:flex;
                .line-wrapper{
                    width:180/@remScale;
                    display: flex;
                    &.line3{
                        margin-right: 10/@remScale;
                    }
                    .time-input {
                        width: 100%;
                        background-color: @white;
                        //margin-bottom: 20/@remScale;
                        display: flex;
                        align-items:center;
                        border: 1/@remScale solid @border-color;
                        border-radius: 4/@remScale;
                        @media (max-width:@max1){
                            margin-bottom:0;
                        }
                        &:hover {
                            border-color: #c0c4cc;
                        }
                        &:focus {
                            border-color: #c0c4cc;
                        }
                        .rdt {
                            width:100%;
                            border-radius: 4/@remScale;
                            padding-left: 10/@remScale;
                            height: 40/@remScale;
                        }
                        .close-right{
                            padding-right: 10/@remScale;
                            .close-btn{
                                width:20/@remScale;
                                height:20/@remScale;
                                color:@pinkish-grey;
                            }
                        }

                    }
                }
                .btn{
                    width:50/@remScale;
                    height: 40/@remScale;
                    line-height: 40/@remScale;
                    font-size: 14/@remScale;
                    background-color: @light-blue-color;
                    color:@white;
                    text-align:center;
                    border-radius: 4/@remScale;
                    cursor: pointer;
                }
                .work-input {
                    position: relative;
                    width: 260/@remScale;
                    height: 40/@remScale;
                    margin-bottom: 0;
                    margin-left: 10/@remScale;
                    input::-webkit-input-placeholder {
                        font-size: 12/@remScale;
                    }
                }
            }
            .manage-wrapper{
                .manage-btn{
                    border-radius: 4/@remScale;
                    font-size: 14/@remScale;
                    cursor: pointer;
                    color: @white;
                    text-align: center;
                    background: @light-blue-color;
                    padding: 10/@remScale;
                }
            }
        }
    }
    .orin-s-ordersplate-root{
        margin: 0;
        padding:0;
        .content-new-wrapper{
            padding: 0 20/@remScale;
            .content-header-title{
                background: @pinkish-grey;
                display: flex;
                height: 50/@remScale;
                align-items: center;
                .title {
                    color: @black-three;
                    font-size: 14/@remScale;
                }
            }
        }
        .users-wrapper-pc{
            .user-item-wrapper{
                display: flex;
                padding: 16/@remScale 0/@remScale;
                border-bottom: 1/@remScale solid #eeeeee;
            }
        }
        .content-number,.content-date,.content-name,.content-phone,.content-identity,.content-version,
        .content-time,.content-money,.content-validity,.content-pay,.content-more-btn{
            display: flex;
            align-items: center;
            justify-content: center;
            .text {
                color: #666666;
                font-size: 14/@remScale;
                word-break: break-all;
                margin-bottom: 6/@remScale;
            }

        }
        .content-number {
            flex: 0 0 @selectWidth;
        }
        .content-date{
            flex:2;
        }
        .content-name{
            flex: 2;
        }
        .content-phone{
            flex:2;
        }
        .content-identity{
            flex:1;
        }
        .content-version{
            flex:1;
        }
        .content-time{
            flex:1;
        }
        .content-money{
            flex:1;
        }
        .content-validity{
            flex:2;
        }
        .content-pay{
            flex:1;
        }
        .content-more-btn{
            flex:2;
            .select-button{
                width:43/@remScale;
                height:24/@remScale;
                line-height: 24/@remScale;
                text-align: center;
                font-size:12/@remScale;
                color:#bbb;
                border:1/@remScale solid #bbb;
                border-radius: 4/@remScale;
                margin-right: 5/@remScale;
                &:last-child{
                    margin-right: 0;
                }
                &:hover{
                    border-color: @light-blue-color;
                    color: @light-blue-color;
                }
            }
        }
    }
    .invite-mask {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        overflow: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        &.show {
            .fadeIn();
        }
        &.hide {
            .fadeOut();
        }
        .invite-wrapper {
            background: @white;
            width: 620/@remScale;
            margin: auto;
            border-radius: 4/@remScale;
            display: flex;
            flex-direction: column;
            .invite-header {
                .dialog-header();
                height: 60/@remScale;
                font-size: 20/@remScale;
                background-color: @white;
                padding: 0 20/@remScale;
                position: relative;
                border-top-left-radius: 4/@remScale;
                border-top-right-radius: 4/@remScale;
                .icon-wrapper {
                    cursor: pointer;
                    color: @pinkish-grey;
                    &:hover {
                        color: @black-auxiliary-text;
                    }
                }
            }
            .invite-content {
                //background: #f8f8f8;
                display: flex;
                justify-content: space-between;
                padding:30/@remScale 20/@remScale;
                .time-wrapper {
                    display: flex;
                    align-items: center;
                    font-size: 14/@remScale;
                    flex: 1;
                    //margin-bottom: 20/@remScale;
                    .time-begin, .time-end {
                        display: flex;
                        align-items: center;
                        width:100%;
                        flex: 1;
                        background-color: @white;
                        border: 1/@remScale solid @border-color;
                        border-radius: 4/@remScale;
                        .time-input {
                            width: 100%;
                            background-color: @white;
                            //margin-bottom: 20/@remScale;
                            display: flex;
                            align-items:center;
                            border: 1/@remScale solid @border-color;
                            border-radius: 4/@remScale;
                            &:hover {
                                border-color: #c0c4cc;
                            }
                            &:focus {
                                border-color: #c0c4cc;
                            }
                            .rdt {
                                width:100%;
                                border-radius: 4/@remScale;
                                padding-left: 10/@remScale;
                                height: 40/@remScale;
                            }
                            .close-right{
                                padding-right: 10/@remScale;
                                .close-btn{
                                    width:20/@remScale;
                                    height:20/@remScale;
                                    color:@pinkish-grey;
                                }
                            }
                        }
                    }
                    .time-end {
                        @media (max-width: @max1) {
                            .rdtPicker {
                                right: 0;
                                left: auto;
                            }
                        }
                    }
                    .time-to {
                        flex: 0 0 50/@remScale;
                        text-align: center;
                        color: #888;
                    }
                }
                .assign-btn {
                    width: 70/@remScale;
                    height: 44/@remScale;
                    background: @light-blue-color;
                    .btnLightenHover(@light-blue-color);
                    border-radius: 4/@remScale;
                    margin-left:10/@remScale;
                }
            }
            .invite-footer {
                height: 60/@remScale;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 0 0 4/@remScale 4/@remScale;
                padding:0 20/@remScale;
                .download-wrapper {
                    position: relative;
                    cursor: pointer;
                    display: block;
                    line-height: 30/@remScale;
                    text-align: center;
                    font-size: 13/@remScale;
                    height: 30/@remScale;
                    width: 120/@remScale;
                    border-radius: 4/@remScale;
                    background: @light-blue-color;
                    .btnLightenHover(@light-blue-color);
                    color: @white;
                }

            }

        }
    }
}
